<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>  
<%
 int year=Integer.parseInt(request.getParameter("year"));
 String ss="猴、鸡、狗、猪、鼠、牛、虎、兔、龙、蛇、马、羊"; 
 String[] sa=ss.split("、");
 int mod=year%12; 
%>
  <%=year%>年属相为:<%=sa[mod]%><br>    
  <img src="/12006242601/jsp/request/sx/img/<%=mod%>.gif"/>
</body>
</html>
